import fetch from '../common1'
// 满减列表
export const full_list = (params) => {
    return fetch.get(params, 'market/full-list');
}

// 添加满减
export const add_full = (params) => {
    return fetch.post(params, 'market/add-full');
}

// 删除满减
export const del_full = (params) => {
    return fetch.post(params, 'market/del-full');
}

//新客立减红包
export const shop_info = (params) => {
    return fetch.get(params, 'manager/shop-info');
}

//编辑新客立减红包
export const edit_red = (params) => {
    return fetch.post(params, 'market/edit-red');
}